package com.qf.flash.http.response;

import java.util.ArrayList;
import java.util.List;

/**
 * 描述: 剧本详情
 * 2020/3/25 11:09
 */
public class ScriptDetailResponse {

    /**
     * id : 1
     * name : 四大名捕之铁公鸡
     * content : <p>明朝中期，江湖动荡，帮派林立，各大组织之间勾心斗角，矛盾日益激烈。
     这日，一个团伙犯罪组织铁鸡帮的首领铁公鸡，被发现爆毙于城外墓园。</p>
     * image : https://shandian.hnqinghuang.com/game/play/1.jpg
     * responseCount : 0
     * responseScole : 0
     * author : 狐狸橙子
     * gameLength : 大约30分钟
     * downpayment : 30
     * typeId : 1
     * templateId : 1
     * typeName : 剧本杀
     * isTest : 0
     * tags : ["4人","武侠","古代"]
     */

    private String id;
    private String name;
    private String content;
    private String image;
    private int responseCount;
    private float responseScole;
    private String author;
    private String gameLength;
    private double downpayment;
    private String typeId;
    private String templateId;
    private String typeName;
    private String isTest;
    private List<String> tags;

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name == null ? "" : name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content == null ? "" : content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image == null ? "" : image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getResponseCount() {
        return responseCount;
    }

    public void setResponseCount(int responseCount) {
        this.responseCount = responseCount;
    }

    public float getResponseScole() {
        return responseScole;
    }

    public void setResponseScole(float responseScole) {
        this.responseScole = responseScole;
    }

    public String getAuthor() {
        return author == null ? "" : author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getGameLength() {
        return gameLength == null ? "" : gameLength;
    }

    public void setGameLength(String gameLength) {
        this.gameLength = gameLength;
    }

    public double getDownpayment() {
        return downpayment;
    }

    public void setDownpayment(double downpayment) {
        this.downpayment = downpayment;
    }

    public String getTypeId() {
        return typeId == null ? "" : typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTemplateId() {
        return templateId == null ? "" : templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getTypeName() {
        return typeName == null ? "" : typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getIsTest() {
        return isTest == null ? "" : isTest;
    }

    public void setIsTest(String isTest) {
        this.isTest = isTest;
    }

    public List<String> getTags() {
        if (tags == null)
            return new ArrayList<>();
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }
}
